var name = 'aa';
window[name] = function aa() {
    console.log('in aa')
    $('body').html('ssss')
}